package com.suming.springboot_game.mapper;

import com.suming.springboot_game.entity.Construct;
import com.suming.springboot_game.entity.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ConstructMapper {

    List<Construct> page(Integer pageNum, Integer pageSize, String name);

    Integer countByName(String name);

    Integer jianzao(Construct construct);

    Integer destroy(List<Integer> ids);
}
